function draw_cluster3(coords,num)
% This is to draw "num" scatter graphs with different colors for 
% all the clusters that are chosen

% first, to keep all the graphs together
hold on
grid on % looks nice with a grid, IMO

% axis labels
xlabel('File Size');
ylabel('Number of Elements');
zlabel('XML Depth');

% loop for drawing the different clusters
for i = 1:num
	m = 1; % index holder
	for j = 1:length(coords)
		if(coords(4,j) == i)
			temp_x(m) = coords(1,j);
			temp_y(m) = coords(2,j);
			temp_z(m) = coords(3,j);
			m = m + 1;
		end
	end
	% plot current points
	scatter3(temp_x,temp_y,temp_z,'filled');
end
view(-60,60)  % aesthetic purposes
hold off